home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-04-15 | 994 b | 44 lines |
- #
- # Sybase Setup for solaris
- #
-
- FRAMEWORKS += Sybase1x
-
- #
- # Client library location
- #
- SYBASE_HOME = /home/sybase
-
- #
- # Path for the libs
- #
- OTHER_LDFLAGS += -L. -L$(SYBASE_HOME)/lib
-
- #
- # Libraries used
- #
- OTHER_LIBS += -lsybdb -lm
-
- #
- #
- # The following variables are to workaround the fact that tcp_open is defined
- # in both the libsybdb.a(from Sybase) and libdce.a(from HP). These are used in
- # Makefile.postamble-hpux-sybase file.
- #
- # Add current Directory to library path
- OTHER_LDFLAGS += -L.
- # Add new dblibrary as a build target
- OTHER_PRODUCT_DEPENDS += $(SYMROOT)/libsybdb.a
- # Define multiply defined symbols
- SYMBOLS_TO_HIDE = tcp_open
- # Location and name of original dblibrary
- INPUT_LIBRARY = $(SYBASE_HOME)/lib/libsybdb.a
- # Name of modified dblibrary
- OUTPUT_LIBRARY = libsybdb.a
- # Directory for temporary files
- SCRATCH_DIR = /tmp
- # Directory for dblibrary object files
- PATCH_OFILE_DIR = $(SCRATCH_DIR)/PatchFiles
- # Add munged library to garbage list
- OTHER_GARBAGE += $(SYMROOT)/libsybdb.a
-